import request from '@/utils/request.js'

// 研一分数列表查询
export const scoreshowListService = () => {
  return request.get('/score1/getScore');
}

// 研一分数添加
export const scoreAddService = (scoredata) => {
  return request.post('/score1/addScore', scoredata);
}

//研一分数修改
export const scoreUpdateService = (scoredata) => {
  return request.put('/score1/updateScore', scoredata);
}

//研一分数删除
export const scoreDeleteService = (studentId) =>{
  return request.delete('/score1/deleteScore/' + studentId);
}

//研一单个查询
export const scoreshowbyidListService = (studentId) =>{
  return request.get('score1/select/' + studentId)
}
